package com.beyondsoft.test.service;

import java.util.List;
import com.beyondsoft.common.core.model.Test;
import com.beyondsoft.common.core.model.vo.TestSearchVO;
import com.beyondsoft.common.core.model.dto.TestDTO;
import com.beyondsoft.common.core.model.vo.TestVO;
import com.beyondsoft.common.core.util.PageBean;

/**
 * test 数据访问接口
 * @date 2019-12-5 11:31:55
 * @author codeBuilder
 */
public interface ITestService {  
    
    /**
	 * @Description 分页查询Test
	 * @param testSearchVO
	 * @return PageBean<Test>
	 * @date 2019-12-5 11:31:55
	 * @author codeBuilder
	 */
	PageBean<TestDTO> page(TestSearchVO testSearchVO);
	
	/**
	 * @Description 根据条件查询Test 返回一个list集合
	 * @param test
	 * @return List<T>
	 * @date 2019-12-5 11:31:55
	 * @author codeBuilder
	 */
	List<Test> find(Test test);
	
	/**
	 * @Description 根据Id查询Test
	 * @param id
	 * @return Map<K, V>
	 * @date 2019-12-5 11:31:55
	 * @author codeBuilder
	 */
	TestDTO findOne(Long id);
	
    /**
	 * @Description 添加Test
	 * @param testVO
	 * @date 2019-12-5 11:31:55
	 * @author codeBuilder
	 */
	void insert(TestVO testVO);
	
	/**
	 * @Description 修改Test
	 * @param testVO
	 * @date 2019-12-5 11:31:55
	 * @author codeBuilder
	 */
	void update(TestVO testVO);
	
	/**
	 * @Description 删除Test
	 * @param id
	 * @date 2019-12-5 11:31:55
	 * @author codeBuilder
	 */
	void delete(Long id);

}


